package com.lighting.common.feign.search.index.base;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Map;

@Getter
@Setter
public class BaseIndex {

    private String id;

    @ApiModelProperty(value = "ES中的ID")
    private String _id;

    @ApiModelProperty(value = "评分")
    private Float _score;

    @ApiModelProperty(value = "扩展属性")
    private Map<String, Object> flexAttrs;
}
